'Declaration
Public Overloads Function AddCustomList( _ ByVal listArray As IRange, _ Optional ByVal byRow As Nullable(Of Boolean) _ ) As Boolean
'Usage
Dim instance As WorkbookSet Dim listArray As IRange Dim byRow As Nullable(Of Boolean) Dim value As Boolean value = instance.AddCustomList(listArray, byRow)
public bool AddCustomList( IRange listArray, Nullable<bool> byRow )
Parameters
- listArray
- Specifies the source data
- byRow
true
to create a custom list from each row in the range.false
to create a custom list from each column in the range.If this argument is omitted and there are more rows than columns (or an equal number of rows and columns) in the range, the custom list is created from each column in the range.
If this argument is omitted and there are more columns than rows in the range, the custom list is created from each row in the range.
Return Value
true
if the custom list is added; otherwise, false
if the list that you are trying to add already exists.